<template>
  <div class="default-content-background page-count">
    <qtable
      :columns = "columns"
      dataApi="/admin/payment/refund"
      >
    </qtable>   
  </div>
</template>

<script>
import qtable from "../../components/qTable.vue";
export default {
  name: "page-count",
  data() {
    return {
      columns: [
        {
          title: "退款时间",
          align: "center",
          key: "time"
        },
        {
          title: "用户手机号码",
          align: "center",
          key: "phone_number"
        },
        {
          title: "退款金额",
          align: "center",
          key: "money_count",
          render: (h, params) => {
            let renderText = `${params.row.money_count / 100}`;
            return h("div", [h("span", renderText)]);
          }
        }
      ]
    };
  },
  filters: {},
  methods: {},
  components: {
    qtable
  },

  mounted: function() {}
};
</script>

<style lang="less">
.page-count {
  padding: 10px;
  padding-top: 56px;
}
</style>
